<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>PicasaAlbumModel (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>

  <script type="text/javascript" src="//www.google.com/jsapi"></script>
  <script type="text/javascript">
     google.load("visualization", "1", {packages:["orgchart"]});
     var _loadingVisualizations = true;
  </script>

  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
        <span class="fn">ui.media.PicasaAlbumModel</span>
        <span>Extends</span>
        <span class="fn-name">
          <a href="class_goog_ui_media_MediaModel.html">
          goog.ui.media.MediaModel
</a>
        </span>
</div>

<div class="g-section g-tpl-75-25">
  <div class="g-unit g-first" id="description">
    The <code> goog.ui.media.PicasaAlbum</code> media data model. It stores a required
<code> userId</code> and <code> albumId</code> fields, sets the picasa album URL, and
allows a few optional parameters.


  </div>


        <div class="g-unit" id="useful-links">
          <div class="title">Useful links</div>
          <ol>
            <li><a href="local_closure_goog_ui_media_picasa.js.source.html"><span class='source-code-link'>Source Code</span></a></li>
            <li><a href="http://code.google.com/p/closure-library/source/browse/local/closure/goog/ui/media/picasa.js">Git</a></li>
          </ol>
        </div>
</div>






<h2 class="g-first">Inheritance</h2>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
  <tr><td><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span></td><td></td></tr>
  <tr><td>goog.ui.media.PicasaAlbumModel</td><td><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span></td></tr>
</table>
</div>
<div class='gviz-org-chart-container goog-inline-block'>
<table class='gviz-org-chart' style='display:none'>
</table>
</div>




  <h2>Constructor</h2>
      <div class="fn-constructor">
    goog.ui.media.PicasaAlbumModel(<span><span class="arg">userId</span>,&nbsp;<span class="arg">albumId</span>,&nbsp;<span class="arg">opt_authKey</span>,&nbsp;<span class="arg">opt_caption</span>,&nbsp;<span class="arg">opt_description</span>,&nbsp;<span class="arg">opt_autoplay</span></span>)
  </div>

   <h3>Parameters</h3>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">userId</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The picasa userId associated with this album.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">albumId</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The picasa albumId associated with this album.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_authKey</span>
        : <span class="type">string=</span>
        <div class="entryOverview">An optional authentication key, used on private
    albums.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_caption</span>
        : <span class="type">string=</span>
        <div class="entryOverview">An optional caption of the picasa album.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_description</span>
        : <span class="type">string=</span>
        <div class="entryOverview">An optional description of the picasa album.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_autoplay</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">Whether to autoplay the slideshow.</div>
     </td>
   </tr>
  </table>


<h2>Instance Methods</h2>


  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_ui_media_PicasaAlbumModel.html">
              goog.ui.media.PicasaAlbumModel
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.PicasaAlbumModel.prototype.getAlbumId"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getAlbumId<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Gets the Picasa album id.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The Picasa album id.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line312">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.PicasaAlbumModel.prototype.getAuthKey"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getAuthKey<span class="args">()</span>
        </span>
        &#8658; <span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Gets the Picasa album authentication key.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>?</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The Picasa album authentication key.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line321">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.PicasaAlbumModel.prototype.getUserId"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getUserId<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Gets the Picasa user id.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The Picasa user id.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line303">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>

<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_ui_media_MediaModel.html">
              goog.ui.media.MediaModel
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.findCategoryWithScheme"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">findCategoryWithScheme<span class="args">(<span class="arg">scheme</span>)</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_ui_media_MediaModel_Category.html">goog.ui.media.MediaModel.Category</a></span>
      </div>


     <div class="entryOverview">
       Finds the first category with the given scheme.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">scheme</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The scheme to search for.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_ui_media_MediaModel_Category.html">goog.ui.media.MediaModel.Category</a></span>&nbsp;
            The category that has the
    given scheme. May be null.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line424">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.findCreditsWithRole"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">findCreditsWithRole<span class="args">(<span class="arg">role</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel_Credit.html">goog.ui.media.MediaModel.Credit</a></span>&gt;
      </div>


     <div class="entryOverview">
       Finds all credits with the given role.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">role</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The role to search for.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel_Credit.html">goog.ui.media.MediaModel.Credit</a></span>&gt;&nbsp;
            An array of credits
    with the given role. May be empty.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line462">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getCaption"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getCaption<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>
      </div>


     <div class="entryOverview">
       Gets the caption of this media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>&nbsp;
            The caption of the media.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line219">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getCategories"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getCategories<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_Category.html">goog.ui.media.MediaModel.Category</a></span>&gt;
      </div>


     <div class="entryOverview">
       Gets the categories of the media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_Category.html">goog.ui.media.MediaModel.Category</a></span>&gt;&nbsp;
            The categories of the
    media.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line401">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getCredits"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getCredits<span class="args">()</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_Credit.html">goog.ui.media.MediaModel.Credit</a></span>&gt;
      </div>


     <div class="entryOverview">
       Gets the credits of the media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_Credit.html">goog.ui.media.MediaModel.Credit</a></span>&gt;&nbsp;
            The credits of the media.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line439">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getDescription"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getDescription<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>
      </div>


     <div class="entryOverview">
       Gets the description of this media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>&nbsp;
            The description of the media.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line279">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getDuration"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getDuration<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>
      </div>


     <div class="entryOverview">
       Gets the duration of the media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>&nbsp;
            The duration in seconds.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line320">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getHeight"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getHeight<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>
      </div>


     <div class="entryOverview">
       Gets the height of the media in pixels.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>&nbsp;
            The height in pixels.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line360">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getMedium"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getMedium<span class="args">()</span>
        </span>
        &#8658; <span class="type">goog.ui.media.MediaModel.Medium</span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>
      </div>


     <div class="entryOverview">
       Gets the media medium.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type">goog.ui.media.MediaModel.Medium</span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>&nbsp;
            The media medium.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line259">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getPlayer"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getPlayer<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_ui_media_MediaModel_Player.html">goog.ui.media.MediaModel.Player</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>
      </div>


     <div class="entryOverview">
       Gets the player data.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_ui_media_MediaModel_Player.html">goog.ui.media.MediaModel.Player</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>&nbsp;
            The media player data.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line380">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getSubTitles"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getSubTitles<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_SubTitle.html">goog.ui.media.MediaModel.SubTitle</a></span>&gt;
      </div>


     <div class="entryOverview">
       Gets the subtitles for the media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_SubTitle.html">goog.ui.media.MediaModel.SubTitle</a></span>&gt;&nbsp;
            The subtitles.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line474">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getThumbnails"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getThumbnails<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_Thumbnail.html">goog.ui.media.MediaModel.Thumbnail</a></span>&gt;
      </div>


     <div class="entryOverview">
       Gets the thumbnail urls.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_Thumbnail.html">goog.ui.media.MediaModel.Thumbnail</a></span>&gt;&nbsp;
            The list of thumbnails.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line299">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getType"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getType<span class="args">()</span>
        </span>
        &#8658; <span class="type">goog.ui.media.MediaModel.MimeType</span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>
      </div>


     <div class="entryOverview">
       Gets the media mime type.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type">goog.ui.media.MediaModel.MimeType</span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>&nbsp;
            The media mime type.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line239">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getUrl"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getUrl<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>
      </div>


     <div class="entryOverview">
       Gets the URL of this media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>&nbsp;
            The URL of the media.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line199">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.getWidth"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">getWidth<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>
      </div>


     <div class="entryOverview">
       Gets the width of the media in pixels.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span><span>&nbsp;|&nbsp;</span><span class="type">undefined</span>&nbsp;
            The width in pixels.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line340">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setCaption"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setCaption<span class="args">(<span class="arg">caption</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the caption of this media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">caption</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The caption of the media.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line229">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setCategories"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setCategories<span class="args">(<span class="arg">categories</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the categories of the media

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">categories</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_Category.html">goog.ui.media.MediaModel.Category</a></span>&gt;
        <div class="entryOverview">The categories
    of the media.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line412">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setCredits"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setCredits<span class="args">(<span class="arg">credits</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the credits of the media

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">credits</span>
        : <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_Credit.html">goog.ui.media.MediaModel.Credit</a></span>&gt;
        <div class="entryOverview">The credits of the
    media.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line450">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setDescription"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setDescription<span class="args">(<span class="arg">description</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the description of this media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">description</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The description of the media.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line289">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setDuration"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setDuration<span class="args">(<span class="arg">duration</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets duration of the media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">duration</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The duration of the media, in seconds.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line330">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setHeight"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setHeight<span class="args">(<span class="arg">height</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the height of the media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">height</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The height of the media, in pixels.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line370">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setMedium"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setMedium<span class="args">(<span class="arg">medium</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the media medium.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">medium</span>
        : <span class="type">goog.ui.media.MediaModel.Medium</span>
        <div class="entryOverview">The media medium.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line269">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setPlayer"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setPlayer<span class="args">(<span class="arg">player</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the player data.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">player</span>
        : <span class="type"><a href="class_goog_ui_media_MediaModel_Player.html">goog.ui.media.MediaModel.Player</a></span>
        <div class="entryOverview">The media player data.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line390">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setSubTitles"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setSubTitles<span class="args">(<span class="arg">subtitles</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the subtitles for the media

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">subtitles</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_SubTitle.html">goog.ui.media.MediaModel.SubTitle</a></span>&gt;
        <div class="entryOverview">The subtitles.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line484">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setThumbnails"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setThumbnails<span class="args">(<span class="arg">thumbnails</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the thumbnail list.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">thumbnails</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_ui_media_MediaModel_Thumbnail.html">goog.ui.media.MediaModel.Thumbnail</a></span>&gt;
        <div class="entryOverview">The list of
    thumbnail.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line310">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setType"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setType<span class="args">(<span class="arg">type</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the media mime type.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">type</span>
        : <span class="type">goog.ui.media.MediaModel.MimeType</span>
        <div class="entryOverview">The media mime type.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line249">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setUrl"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setUrl<span class="args">(<span class="arg">url</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the URL of this media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">url</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The URL of the media.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line209">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.MediaModel.prototype.setWidth"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryName">setWidth<span class="args">(<span class="arg">width</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>
      </div>


     <div class="entryOverview">
       Sets the width of the media.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">width</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Number">number</a></span>
        <div class="entryOverview">The width of the media, in pixels.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_ui_media_MediaModel.html">goog.ui.media.MediaModel</a></span>&nbsp;
            The object itself, used for chaining.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line350">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Instance Properties</h2>







<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_ui_media_PicasaAlbumModel.html">
              goog.ui.media.PicasaAlbumModel
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.ui.media.PicasaAlbumModel.prototype.albumId_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">albumId_</span>
        : 
     </div>


     <div class="entryOverview">
       The Picasa album id.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line220">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.ui.media.PicasaAlbumModel.prototype.authKey_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">authKey_</span>
        : 
     </div>


     <div class="entryOverview">
       The Picasa authentication key, used on private albums.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line227">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry public">
       <td class="access"></td>





  <a name="goog.ui.media.PicasaAlbumModel.prototype.constructor"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">constructor</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line195">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.ui.media.PicasaAlbumModel.prototype.userId_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">userId_</span>
        : 
     </div>


     <div class="entryOverview">
       The Picasa user id.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line213">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>

<div>
       <div class="desc">
         Defined in
         <span class="fn-name">
            <a href="class_goog_ui_media_MediaModel.html">
              goog.ui.media.MediaModel
            </a>
         </span>
       </div>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.caption_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">caption_</span>
        : 
     </div>


     <div class="entryOverview">
       The caption of the media.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line82">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.categories_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">categories_</span>
        : 
     </div>


     <div class="entryOverview">
       The list of categories that are applied to this media.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line139">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.credits_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">credits_</span>
        : 
     </div>


     <div class="entryOverview">
       The list of credits that pertain to this media object.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line146">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.description_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">description_</span>
        : 
     </div>


     <div class="entryOverview">
       A description of the media, typically user generated comments about it.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line89">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.duration_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">duration_</span>
        : 
     </div>


     <div class="entryOverview">
       The duration of the media in seconds.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line110">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.height_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">height_</span>
        : 
     </div>


     <div class="entryOverview">
       The height of the media in pixels.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line124">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.medium_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">medium_</span>
        : 
     </div>


     <div class="entryOverview">
       The medium of the media.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line103">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.player_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">player_</span>
        : <span class="type"><a href="class_goog_ui_media_MediaModel_Player.html">goog.ui.media.MediaModel.Player</a></span>
     </div>


     <div class="entryOverview">
       The media player.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line192">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.subTitles_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">subTitles_</span>
        : 
     </div>


     <div class="entryOverview">
       The list of subtitles for the media object.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line153">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.thumbnails_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">thumbnails_</span>
        : 
     </div>


     <div class="entryOverview">
       A list of thumbnails representations of the media (eg different sizes of
the same photo, etc).

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line132">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.type_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">type_</span>
        : 
     </div>


     <div class="entryOverview">
       The mime type of the media.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line96">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.url_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">url_</span>
        : 
     </div>


     <div class="entryOverview">
       The URL of the media.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line75">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.ui.media.MediaModel.prototype.width_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryName">width_</span>
        : 
     </div>


     <div class="entryOverview">
       The width of the media in pixels.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_mediamodel.js.source.html#line117">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
</div>




<h2>Static Methods</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.PicasaAlbumModel.buildUrl"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.ui.media.PicasaAlbumModel.</span><span class="entryName">buildUrl<span class="args">(<span class="arg">userId</span>,&nbsp;<span class="arg">albumId</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       The opposite of <code> newInstance</code>: takes an <code> userId</code> and an
<code> albumId</code> and builds a URL.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">userId</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The user that owns the album.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">albumId</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The album id.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The URL of the album.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line294">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.ui.media.PicasaAlbumModel.newInstance"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.ui.media.PicasaAlbumModel.</span><span class="entryName">newInstance<span class="args">(<span class="arg">picasaUrl</span>,&nbsp;<span class="arg">opt_caption</span>,&nbsp;<span class="arg">opt_description</span>,&nbsp;<span class="arg">opt_autoplay</span>)</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_ui_media_PicasaAlbumModel.html">goog.ui.media.PicasaAlbumModel</a></span>
      </div>


     <div class="entryOverview">
       Gets a <code> picasaUrl</code> and extracts the user and album id.


     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">picasaUrl</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">A picasa album URL.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_caption</span>
        : <span class="type">string=</span>
        <div class="entryOverview">An optional caption of the picasa album.</div>
     </td>
   </tr>
     
   <tr class="even">
     <td>
        <span class="entryName">opt_description</span>
        : <span class="type">string=</span>
        <div class="entryOverview">An optional description of the picasa album.</div>
     </td>
   </tr>
     
   <tr class="odd">
     <td>
        <span class="entryName">opt_autoplay</span>
        : <span class="type">boolean=</span>
        <div class="entryOverview">Whether to autoplay the slideshow.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_ui_media_PicasaAlbumModel.html">goog.ui.media.PicasaAlbumModel</a></span>&nbsp;
            The picasa album data model that
    represents the picasa URL.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line273">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



<h2>Static Properties</h2>






<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.ui.media.PicasaAlbumModel.MATCHER_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.ui.media.PicasaAlbumModel.</span><span class="entryName">MATCHER_</span>
        : 
     </div>


     <div class="entryOverview">
       Regular expression used to extract the picasa username and albumid out of
picasa URLs.

Copied from <a href="http://go/markdownlite.js">http://go/markdownlite.js</a>,
and <code> PicasaWebExtractor.xml</code>.


     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line258">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.ui.media.PicasaAlbumModel.superClass_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.ui.media.PicasaAlbumModel.</span><span class="entryName">superClass_</span>
        : 
     </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_ui_media_picasa.js.source.html#line195">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>









<div class="section">
  <table class="horiz-rule">


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package ui.media</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="ui.media.PicasaAlbumModel"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
